
const { ccclass, property } = cc._decorator;

@ccclass('SplashScene')
export class SplashScene extends cc.Component {
    @property(cc.Label)
    public laber_:cc.Label=null;
 
 
    start () {
        this.laber_.string='加载场景~~~';
       
        setTimeout(() => {
            cc.director.loadScene('startScene',()=>{
              console.log('auched callback')
            }); //也可以直接写   director.loadScene('Gamescene')
        }, 0)

     
    }

    // update (deltaTime: number) {
    //     // [4]
    // }
}


